package com.naizhuai.Model.db.managenote;

import com.naizhuai.Model.db.eneity.ManageNoteBean;
import com.naizhuai.Model.db.search.SearchHistoryBean;

import java.util.List;

/**
 * @author：lichenxi
 * @date 2018/2/27 19
 * email：525603977@qq.com
 * Fighting
 */
public interface ManageNoteSourse {

    interface GetManageNoteCallback {

        void onGetStateData(List<ManageNoteBean> search);

        void onDataNotAvailable();
    }

    void getNoteDataAsyn(int status, GetManageNoteCallback callback);

    void saveNoteData(List<ManageNoteBean> search);

    void saveManageNoteSingleData(ManageNoteBean search);

    void deleteManageNoteData(ManageNoteBean bean);


}
